package local.blueheart.data.springdatademo;

import local.blueheart.data.springdatademo.annotation.TaskWorker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "local.blueheart.data.springdatademo.*",includeFilters = @ComponentScan.Filter(TaskWorker.class))
public class SpringdatademoApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringdatademoApplication.class, args);
    }
}
